package com.maozzi.common.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 分页参数
 *
 * @author maozi
 */
@Data
@NoArgsConstructor
public class PageParam implements Serializable {
    private final static Integer MAX_PAGE_SIZE = 200;

    private Integer page;
    private Integer pageSize;

    public PageParam(int page, int pageSize) {
        this.page = page;
        this.pageSize = pageSize;
    }
}
